from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

from rpc import documents
from rpc import dayRSS

application = webapp.WSGIApplication(
 [('/rpc/documents', documents.Documents),
  ('/rpc/dayRSS', dayRSS.DayRSS)
  ], debug=True)

def main():
    run_wsgi_app(application)

if __name__ == "__main__":
    main()